import Imgs from './Imgs.vue'
import ImgsAdd from './ImgsAdd.vue'
import ImgsEdit from './ImgsEdit.vue'
import ImgsSearch from './ImgsSearch.vue'
import ImgsView from './ImgsView.vue'

const components = [
  Imgs,
  ImgsAdd,
  ImgsEdit,
  ImgsSearch,
  ImgsView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
